package com.example.mall.service;


import com.example.mall.mbg.model.Role;

import java.util.List;

/**
 * RoleService
 * Created by on 2023/12/27.
 */
public interface RoleService {
    List<Role> listAll();

    int create(Role role);

    int update(Integer roleid, Role role);

    int delete(Integer roleid);

    List<Role> list(int pageNum, int pageSize);

    Role get(Integer roleid);
}
